$border-color: #ebebeb;

:host {
  flex: 1;
  margin: 0 32px;
  background: #fff;
}
.el-row {
  height: 100%;
}
.el-col {
  height: 100%;
}
h4.nav__title {
  position: relative;
  color: #0a3668;
  border-bottom: 1px solid $border-color;
  line-height: 2em;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
  &::after {
    background: #0a3668 none repeat scroll 0 0;
    bottom: -1px;
    content: '';
    height: 1px;
    left: -5px;
    position: absolute;
    width: 90px;
  }
}
.grid-content {
  height: 100%;
  &.left {
    border-right: 1px solid #eee;
    padding: 24px 16px;
    .timer {
      border-radius: 4px;
      height: 65px;
      background: #d9534f;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 36px;
      margin-bottom: 24px;
    }
    .nav {
      margin-bottom: 8px;
    }
    .nav__content {
      .item {
        min-width: 2.4em;
        max-width: 2.4em;
        overflow: hidden;
        text-align: center;
        padding: 6px 0px;
        margin-top: 0.3em;
        text-align: center;
        color: #333;
        border-radius: 4px;
        border: 1px solid #ccc;
        background-color: #fff;
        cursor: pointer;
        display: inline-block;
        margin-bottom: 0;
        font-weight: normal;
        line-height: 1.4;
        margin-right: 8px;
        transition: all 0.2s ease;
        &:hover {
          background-color: #e6e6e6;
          border-color: #adadad;
        }
      }
    }
  }

  &.right {
    position: relative;
    padding: 16px;
    h2 {
      font-size: 30px;
      line-height: 2.4em;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100px;
      font-weight: 400;
      border-bottom: 1px solid $border-color;
    }
    .category {
      border-left: 8px solid #cccccc;
      background-color: #ededed;
      margin: 16px 0;
      height: 50px;
      display: flex;
      align-items: center;
      font-family: 'Helvetica Neue', Helvetica, Microsoft Yahei,
        Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
      line-height: 2em;
      color: #333333;
      font-size: 16px;
      padding-left: 8px;
    }
    .choice {
      font-size: 16px;
      padding: 10px;
      padding-left: 24px;
      p {
        padding: 4px 0;
      }
    }
    .selector {
      font-size: 16px;
      background-color: #ededed;
      padding: 10px;
    }
    .toolbar {
      // position: absolute;
      // bottom: 0;
      // right: 16px;
      // left: 16px;
      height: 60px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      border-top: 1px solid $border-color;
      el-icon {
        margin-left: 4px;
      }
    }
  }
}
